package Payment;

import java.io.Serializable;

/**The abstract class Payment is extended depend on what type of payment the
 * customer use.
 *
 * @author Sara Pulis
 */
public abstract class Payment implements Serializable {

    protected float transactionTotal;
    protected String type;

    public Payment() {}

    @Override
    public abstract String toString();
    public abstract float getTotal();
    public abstract boolean verify();
    public abstract float getChange();

    public String getType() {
        return type;
    }

}
